package com.njtoyo.taxi.admin.rest.wrapper.business.driver;

import com.njtoyo.taxi.admin.mapper.master.enums.DriverRegistrationInfoSate;
import com.njtoyo.taxi.admin.mapper.master.fields.operation_rule.DriverRegistrationInfoRejectReason;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "司机自主注册审核")
public class DriverRegistrationInfoExamineWrapper {
    @ApiModelProperty(value = "审核状态 0:[审核中],1:[通过],2:[驳回],3:[拒绝],4:[废除]")
    @NotNull(message = "审核状态不能为空")
    private DriverRegistrationInfoSate state;

    @ApiModelProperty(value = "驳回原因")
    @Valid
    private DriverRegistrationInfoRejectReason rejectReason;
}
